package cn.wx.common.unitofwork.aop;    
    
import java.lang.annotation.*;

/**  
 *自定义注解 拦截service  
 */    
    
@Target({ElementType.PARAMETER, ElementType.METHOD})    
@Retention(RetentionPolicy.RUNTIME)   
@Documented
public @interface UseUnitOfWork {    
    
	/**
	 * 流程
	 * @return
	 */
    String saga()  default "";    
    
    long sagaId() default 0;
    
}  